@import "./detail-sell/style";

.layout-ad {
    width: 1200px;
    margin: 32px auto 0 auto;
    padding: 32px 48px 80px 48px;
    background-color: #fff;
    min-height: 576px;
    border: 1px $color-input-border solid;
    box-shadow: 0 0 4px rgba(125, 125, 125, 0.1);
    .layout-md {
        display: flex;
        width: 100%;
        .col-left, .col-right {
            height: 100%;
            flex-grow: 1;
        }
        .col-left {
            flex: 1;
            padding: 16px;
            margin-right: 16px;
            border: 1px solid $color-input-border;
            box-shadow: 0 0 4px rgba(125, 125, 125, 0.1);
        }
        .col-right {
            flex: 0 0 240px;
            width: 240px;
        }
    }
}

.common-head {
    padding: 16px 32px;
    margin-bottom: 32px;
    background-color: #f2f2f2;
    font-size: 16px;
    .title-text {
        font-style: normal;
    }
}

.common-container {
    padding: 0 32px;
    .ui-title {
        font-size: 16px;
    }
}

.common-basic {
    .col-row {
        display: flex;
        margin-bottom: 8px;
        &:after {
            content: "";
            display: table;
            clear: both;
        }
        &:last-child {
            margin-bottom: 0;
        }
        .col-label {
            box-sizing: border-box;
            flex: 0 0 180px;
            width: 180px;
            margin-right: 10px;
            text-align: left;
            color: $color-font-light;
        }

        .col-text {
            flex: 1;
        }
    }

}

.common-tip {
    margin-top: 100px;
    .list {
        padding: 0 16px;
        list-style: disc;
        .item {
            margin-bottom: 8px;
            &:last-child {
                margin-bottom: 0;
            }
        }
    }
}

.module-ad {
    width: 100%;
}

.module-ad-create {
    box-sizing: border-box;
    .create-hd {
        margin-bottom: 32px;
        line-height: 1;
        .title {
            font-size: 16px;
            vertical-align: text-bottom;
        }
        .title-sub {
            margin-left: 8px;
            font-size: 12px;
            vertical-align: text-bottom;
        }
    }
    .create-tip {
        margin-bottom: 32px;
        font-size: 16px;
        height: 36px;
        line-height: 36px;
        padding-bottom: 8px;
        border-bottom: 1px solid #E8E8E9;
        text-align: center;
        .icon, .text, .link {
            vertical-align: middle;
        }
    }
    .m-form-page {
        margin-top: 32px;
        .tabs {
            font-size: 0;
            .tab-btn {
                display: inline-block;
                box-sizing: border-box;
                padding: 0 15px;
                width: 50%;
                height: 32px;
                line-height: 32px;
                background-color: #fff;
                color: $color-font;
                //border: 1px solid #ccc;
                text-align: center;
                vertical-align: middle;
                font-size: 12px;
                transition: all 0.4s ease;
                &:hover {
                    background-color: #fafafb;
                    color: $color-font;
                }
                &:first-child {
                    border-top-left-radius: 4px;
                    border-bottom-left-radius: 4px;
                }
                &:last-child {
                    border-top-right-radius: 4px;
                    border-bottom-right-radius: 4px;
                }
            }
            &--sell {
                .tab-btn {
                    &:first-child {
                        background-color: $color-btn;
                        border: 1px $color-btn solid;
                        color: #fff;
                        &:hover {
                            background-color: $color-btn;
                            color: #fff;
                        }
                    }
                    &:last-child {
                        border-top: 1px solid #ccc;
                        border-right: 1px solid #ccc;
                        border-bottom: 1px solid #ccc;
                    }
                }
            }
            &--buy {
                .tab-btn {
                    &:first-child {
                        border-top: 1px solid #ccc;
                        border-left: 1px solid #ccc;
                        border-bottom: 1px solid #ccc;
                    }
                    &:last-child {
                        background-color: $color-btn;
                        color: #fff;
                        &:hover {
                            background-color: $color-btn;
                            color: #fff;
                        }
                    }
                }
            }

        }
    }
}

.comp-recommend {

}

@import "./component/style";
@import "./create/style";